
mytest:     file format elf64-x86-64


Disassembly of section .init:

0000000000401000 <_init>:
  401000:	48 83 ec 08          	sub    $0x8,%rsp
  401004:	48 8b 05 ed 2f 00 00 	mov    0x2fed(%rip),%rax        # 403ff8 <__gmon_start__>
  40100b:	48 85 c0             	test   %rax,%rax
  40100e:	74 05                	je     401015 <_init+0x15>
  401010:	e8 4b 00 00 00       	callq  401060 <__gmon_start__@plt>
  401015:	48 83 c4 08          	add    $0x8,%rsp
  401019:	c3                   	retq   

Disassembly of section .plt:

0000000000401020 <.plt>:
  401020:	ff 35 e2 2f 00 00    	pushq  0x2fe2(%rip)        # 404008 <_GLOBAL_OFFSET_TABLE_+0x8>
  401026:	ff 25 e4 2f 00 00    	jmpq   *0x2fe4(%rip)        # 404010 <_GLOBAL_OFFSET_TABLE_+0x10>
  40102c:	0f 1f 40 00          	nopl   0x0(%rax)

0000000000401030 <my_fopen@plt>:
  401030:	ff 25 e2 2f 00 00    	jmpq   *0x2fe2(%rip)        # 404018 <my_fopen>
  401036:	68 00 00 00 00       	pushq  $0x0
  40103b:	e9 e0 ff ff ff       	jmpq   401020 <.plt>

0000000000401040 <printf@plt>:
  401040:	ff 25 da 2f 00 00    	jmpq   *0x2fda(%rip)        # 404020 <printf@GLIBC_2.2.5>
  401046:	68 01 00 00 00       	pushq  $0x1
  40104b:	e9 d0 ff ff ff       	jmpq   401020 <.plt>

0000000000401050 <__libc_start_main@plt>:
  401050:	ff 25 d2 2f 00 00    	jmpq   *0x2fd2(%rip)        # 404028 <__libc_start_main@GLIBC_2.2.5>
  401056:	68 02 00 00 00       	pushq  $0x2
  40105b:	e9 c0 ff ff ff       	jmpq   401020 <.plt>

0000000000401060 <__gmon_start__@plt>:
  401060:	ff 25 ca 2f 00 00    	jmpq   *0x2fca(%rip)        # 404030 <__gmon_start__>
  401066:	68 03 00 00 00       	pushq  $0x3
  40106b:	e9 b0 ff ff ff       	jmpq   401020 <.plt>

0000000000401070 <myAdd@plt>:
  401070:	ff 25 c2 2f 00 00    	jmpq   *0x2fc2(%rip)        # 404038 <myAdd>
  401076:	68 04 00 00 00       	pushq  $0x4
  40107b:	e9 a0 ff ff ff       	jmpq   401020 <.plt>

Disassembly of section .text:

0000000000401080 <_start>:
  401080:	31 ed                	xor    %ebp,%ebp
  401082:	49 89 d1             	mov    %rdx,%r9
  401085:	5e                   	pop    %rsi
  401086:	48 89 e2             	mov    %rsp,%rdx
  401089:	48 83 e4 f0          	and    $0xfffffffffffffff0,%rsp
  40108d:	50                   	push   %rax
  40108e:	54                   	push   %rsp
  40108f:	49 c7 c0 30 12 40 00 	mov    $0x401230,%r8
  401096:	48 c7 c1 c0 11 40 00 	mov    $0x4011c0,%rcx
  40109d:	48 c7 c7 52 11 40 00 	mov    $0x401152,%rdi
  4010a4:	e8 a7 ff ff ff       	callq  401050 <__libc_start_main@plt>
  4010a9:	f4                   	hlt    
  4010aa:	66 0f 1f 44 00 00    	nopw   0x0(%rax,%rax,1)

00000000004010b0 <deregister_tm_clones>:
  4010b0:	b8 48 40 40 00       	mov    $0x404048,%eax
  4010b5:	48 3d 48 40 40 00    	cmp    $0x404048,%rax
  4010bb:	74 13                	je     4010d0 <deregister_tm_clones+0x20>
  4010bd:	b8 00 00 00 00       	mov    $0x0,%eax
  4010c2:	48 85 c0             	test   %rax,%rax
  4010c5:	74 09                	je     4010d0 <deregister_tm_clones+0x20>
  4010c7:	bf 48 40 40 00       	mov    $0x404048,%edi
  4010cc:	ff e0                	jmpq   *%rax
  4010ce:	66 90                	xchg   %ax,%ax
  4010d0:	c3                   	retq   
  4010d1:	66 66 2e 0f 1f 84 00 	data16 nopw %cs:0x0(%rax,%rax,1)
  4010d8:	00 00 00 00 
  4010dc:	0f 1f 40 00          	nopl   0x0(%rax)

00000000004010e0 <register_tm_clones>:
  4010e0:	be 48 40 40 00       	mov    $0x404048,%esi
  4010e5:	48 81 ee 48 40 40 00 	sub    $0x404048,%rsi
  4010ec:	48 89 f0             	mov    %rsi,%rax
  4010ef:	48 c1 ee 3f          	shr    $0x3f,%rsi
  4010f3:	48 c1 f8 03          	sar    $0x3,%rax
  4010f7:	48 01 c6             	add    %rax,%rsi
  4010fa:	48 d1 fe             	sar    %rsi
  4010fd:	74 11                	je     401110 <register_tm_clones+0x30>
  4010ff:	b8 00 00 00 00       	mov    $0x0,%eax
  401104:	48 85 c0             	test   %rax,%rax
  401107:	74 07                	je     401110 <register_tm_clones+0x30>
  401109:	bf 48 40 40 00       	mov    $0x404048,%edi
  40110e:	ff e0                	jmpq   *%rax
  401110:	c3                   	retq   
  401111:	66 66 2e 0f 1f 84 00 	data16 nopw %cs:0x0(%rax,%rax,1)
  401118:	00 00 00 00 
  40111c:	0f 1f 40 00          	nopl   0x0(%rax)

0000000000401120 <__do_global_dtors_aux>:
  401120:	80 3d 1d 2f 00 00 00 	cmpb   $0x0,0x2f1d(%rip)        # 404044 <_edata>
  401127:	75 17                	jne    401140 <__do_global_dtors_aux+0x20>
  401129:	55                   	push   %rbp
  40112a:	48 89 e5             	mov    %rsp,%rbp
  40112d:	e8 7e ff ff ff       	callq  4010b0 <deregister_tm_clones>
  401132:	c6 05 0b 2f 00 00 01 	movb   $0x1,0x2f0b(%rip)        # 404044 <_edata>
  401139:	5d                   	pop    %rbp
  40113a:	c3                   	retq   
  40113b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)
  401140:	c3                   	retq   
  401141:	66 66 2e 0f 1f 84 00 	data16 nopw %cs:0x0(%rax,%rax,1)
  401148:	00 00 00 00 
  40114c:	0f 1f 40 00          	nopl   0x0(%rax)

0000000000401150 <frame_dummy>:
  401150:	eb 8e                	jmp    4010e0 <register_tm_clones>

0000000000401152 <main>:
  401152:	55                   	push   %rbp
  401153:	48 89 e5             	mov    %rsp,%rbp
  401156:	48 83 ec 10          	sub    $0x10,%rsp
  40115a:	be 14 00 00 00       	mov    $0x14,%esi
  40115f:	bf 0a 00 00 00       	mov    $0xa,%edi
  401164:	e8 07 ff ff ff       	callq  401070 <myAdd@plt>
  401169:	89 45 fc             	mov    %eax,-0x4(%rbp)
  40116c:	8b 45 fc             	mov    -0x4(%rbp),%eax
  40116f:	89 c1                	mov    %eax,%ecx
  401171:	ba 14 00 00 00       	mov    $0x14,%edx
  401176:	be 0a 00 00 00       	mov    $0xa,%esi
  40117b:	bf 10 20 40 00       	mov    $0x402010,%edi
  401180:	b8 00 00 00 00       	mov    $0x0,%eax
  401185:	e8 b6 fe ff ff       	callq  401040 <printf@plt>
  40118a:	be 1a 20 40 00       	mov    $0x40201a,%esi
  40118f:	bf 1c 20 40 00       	mov    $0x40201c,%edi
  401194:	e8 97 fe ff ff       	callq  401030 <my_fopen@plt>
  401199:	48 89 45 f0          	mov    %rax,-0x10(%rbp)
  40119d:	48 83 7d f0 00       	cmpq   $0x0,-0x10(%rbp)
  4011a2:	75 07                	jne    4011ab <main+0x59>
  4011a4:	b8 01 00 00 00       	mov    $0x1,%eax
  4011a9:	eb 05                	jmp    4011b0 <main+0x5e>
  4011ab:	b8 00 00 00 00       	mov    $0x0,%eax
  4011b0:	c9                   	leaveq 
  4011b1:	c3                   	retq   
  4011b2:	66 2e 0f 1f 84 00 00 	nopw   %cs:0x0(%rax,%rax,1)
  4011b9:	00 00 00 
  4011bc:	0f 1f 40 00          	nopl   0x0(%rax)

00000000004011c0 <__libc_csu_init>:
  4011c0:	41 57                	push   %r15
  4011c2:	41 89 ff             	mov    %edi,%r15d
  4011c5:	41 56                	push   %r14
  4011c7:	49 89 f6             	mov    %rsi,%r14
  4011ca:	41 55                	push   %r13
  4011cc:	49 89 d5             	mov    %rdx,%r13
  4011cf:	41 54                	push   %r12
  4011d1:	4c 8d 25 30 2c 00 00 	lea    0x2c30(%rip),%r12        # 403e08 <__frame_dummy_init_array_entry>
  4011d8:	55                   	push   %rbp
  4011d9:	48 8d 2d 30 2c 00 00 	lea    0x2c30(%rip),%rbp        # 403e10 <__init_array_end>
  4011e0:	53                   	push   %rbx
  4011e1:	4c 29 e5             	sub    %r12,%rbp
  4011e4:	31 db                	xor    %ebx,%ebx
  4011e6:	48 c1 fd 03          	sar    $0x3,%rbp
  4011ea:	48 83 ec 08          	sub    $0x8,%rsp
  4011ee:	e8 0d fe ff ff       	callq  401000 <_init>
  4011f3:	48 85 ed             	test   %rbp,%rbp
  4011f6:	74 1e                	je     401216 <__libc_csu_init+0x56>
  4011f8:	0f 1f 84 00 00 00 00 	nopl   0x0(%rax,%rax,1)
  4011ff:	00 
  401200:	4c 89 ea             	mov    %r13,%rdx
  401203:	4c 89 f6             	mov    %r14,%rsi
  401206:	44 89 ff             	mov    %r15d,%edi
  401209:	41 ff 14 dc          	callq  *(%r12,%rbx,8)
  40120d:	48 83 c3 01          	add    $0x1,%rbx
  401211:	48 39 eb             	cmp    %rbp,%rbx
  401214:	75 ea                	jne    401200 <__libc_csu_init+0x40>
  401216:	48 83 c4 08          	add    $0x8,%rsp
  40121a:	5b                   	pop    %rbx
  40121b:	5d                   	pop    %rbp
  40121c:	41 5c                	pop    %r12
  40121e:	41 5d                	pop    %r13
  401220:	41 5e                	pop    %r14
  401222:	41 5f                	pop    %r15
  401224:	c3                   	retq   
  401225:	90                   	nop
  401226:	66 2e 0f 1f 84 00 00 	nopw   %cs:0x0(%rax,%rax,1)
  40122d:	00 00 00 

0000000000401230 <__libc_csu_fini>:
  401230:	f3 c3                	repz retq 

Disassembly of section .fini:

0000000000401234 <_fini>:
  401234:	48 83 ec 08          	sub    $0x8,%rsp
  401238:	48 83 c4 08          	add    $0x8,%rsp
  40123c:	c3                   	retq   
